package com.jeecg.p3.system.poster.dao;

import com.jeecg.p3.system.poster.entity.Poster;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;

import java.util.List;

public interface PosterDao extends GenericDao<Poster> {
    public Integer count(PageQuery<Poster> pageQuery);

    public List<Poster> queryPageList(PageQueryWrapper<Poster> wrapper);

    public Poster findByNo(String posterNo);

    public List<Poster> findByParam(Poster poster);

    public void updateIsOld(Poster poster);
}
